package com.genius.auth.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
@ApiModel(value = "用户强退BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class ForceLogoutBO {
    @NotBlank(message = "身份ID不能为空")
    @Pattern(regexp = "\\w{8}(-\\w{4}){3}-\\w{12}", message = "身份ID不正确")
    @ApiModelProperty("身份ID")
    private String identityId;
}
